import { post, del, put } from "@/request"

// 获取绑定店铺信息信息
export const getPrinterList = (data: any) => {
    console.log(data)
    return post("/printer/getPrinter", data)
} 
  
//删除绑定店铺信息信息
export const deletePrinterInfo = (data: any) => {
    return del("/printer/deletePrinter", data)
}

//添加绑定店铺信息信息
export const addPrinterInfo = (data: any) => {
    console.log(data)
    return post("/printer/addPrinter", data)
}

//修改绑定店铺信息信息
export const updatePrinterInfo = (data: any) => {
    console.log(data)
    return put("/printer/updatePrinter", data)
}

//修改店铺状态
export const updatePrinterStatus = (data: any) => {
    console.log(data)
    return put("/printer/updatePrinterStatus", data)
}



